﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

/// <summary>
/// The purpose of this page is to redirect the user to our
/// login page for administrating the website.
/// </summary>
public partial class Admin_Default : System.Web.UI.Page
{
    
    /// <summary>
    /// Added an event handler in the constructor for the page's PreInit.
    /// </summary>
    public Admin_Default()
    {
        PreInit += new EventHandler(Admin_Default_PreInit);
    }

    /// <summary>
    /// This routine will fire when the page initializes and 
    /// will redirect the user to our login page.
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    private void Admin_Default_PreInit(object sender, EventArgs e)
    {
        Response.Redirect("../SiteWorx/SiteManager.aspx", true);
    }
}
